/* The Modal (background) */

.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 1;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.3);
    /* Black w/ opacity */
    z-index: 999999999999999999999;
}


/* Modal Content/Box */

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 35%;
    /* Could be more or less, depending on screen size */
    box-shadow: rgba(187, 187, 187, 0.6) 0px 0px 1px 1px;
    z-index: 9999999999999;
}

.modal-content-sm {
    background-color: #fefefe;
    margin: 10% auto;
    /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    width: 30%;
    /* Could be more or less, depending on screen size */
    box-shadow: rgba(187, 187, 187, 0.6) 0px 0px 1px 1px;
    z-index: 9999999999999;
}

@media (max-width: 768px) {
    .modal-content,
    .modal-content-sm {
        width: 80%;
        /* Could be more or less, depending on screen size */
    }
}


/* The Close Button */

.close,
.close2 {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus,
.close2:hover,
.close2:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}


/* Style inputs, select elements and textareas */

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc !important;
    border-radius: 4px;
    box-sizing: border-box;
    resize: vertical;
}


/* Style the label to display next to the inputs */

label {
    padding: 12px 12px 12px 0;
    display: inline-block;
}


/* Style the submit button */

input[type=submit] {
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}


/* Style the container */

.container {
    border-radius: 5px;
    padding: 20px;
}


/* Floating column for labels: 25% width */

.col-25 {
    float: left;
    width: 25%;
    margin-top: 6px;
}


/* Floating column for inputs: 75% width */

.col-75 {
    float: left;
    width: 75%;
    margin-top: 6px;
}


/* Clear floats after the columns */

.row:after {
    content: "";
    display: table;
    clear: both;
}

button {
    margin: 0;
    padding: 10px;
    text-align: center;
    background: #0c60cc;
    border-radius: 10px;
    color: #fff;
    text-transform: capitalize;
}

button:disabled {
    opacity: 0.3;
}

button:hover {
    background: #13305a;
    color: #fff;
}


/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */

@media screen and (max-width: 600px) {
    .col-25,
    .col-75,
    input[type=submit] {
        width: 100%;
        margin-top: 0;
    }
}

.btn,
a .btn,
.btn2,
a .btn2 {
    padding: 10px;
    border-radius: 10px;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    -webkit-transition: ease-in-out .2s;
    -moz-transition: ease-in-out .2s;
    -ms-transition: ease-in-out .2s;
    -o-transition: ease-in-out .2s;
    transition: ease-in-out .2s;
}

.btn img,
a .btn img .btn2 img,
a .btn2 img {
    margin-left: 5px;
    margin-right: 5px;
}

.btn-main,
a .btn-main {
    background: #1868B7 !important;
    color: #fff !important;
    text-decoration: none !important;
}

.btn-main:hover,
a:hover .btn-main {
    background: #11457d !important;
    color: #fff !important;
}

.btn-outline-main,
a .btn-outline-main {
    border: #11457d 1px solid !important;
    color: #11457d !important;
    text-decoration: none !important;
}

.btn-outline-main:hover,
a:hover .btn-outline-main {
    background: #11457d !important;
    border: #11457d 1px solid !important;
    color: #fff !important;
}

.tab,
.tab ul {
    width: 80%;
    margin: 0 auto;
    margin-top: 20px;
    list-style: none;
    display: flex;
    flex: 1;
    justify-content: center;
    margin-bottom: 10px;
}

.tab ul li {
    padding: 10px;
    border-bottom: solid 1px #ccc;
    cursor: pointer;
    -webkit-transition: ease-in-out .2s;
    -moz-transition: ease-in-out .2s;
    -ms-transition: ease-in-out .2s;
    -o-transition: ease-in-out .2s;
    transition: ease-in-out .2s;
    margin-right: 2px;
    margin-left: 2px;
}

.tab ul li:hover {
    border-bottom: solid 1px #1868B7;
}

.tab ul li.active {
    border-bottom: solid 2px #1868B7;
}

.tabContent {
    margin-top: 15px;
    display: none;
}

.tabContent.active {
    display: block;
}